new fix for post controller