Changed way to access post_id