Fixed issue with post creation