Fixed post_controller errors