Get post object properly