Fixes problem with post creation