App running without errors, but post not working properly