fix post creation