set post to variable