Both are fine and common, and they have the meanings you suggest. There is no need to worry that they mean different things or that they form different grammatical relationships. You need to understand that semantics trumps structure.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.