fixed post controller bug