Fixed issue with creating new posts