fixed various create post functions