fix post controller