fix for creating new posts