a wtf refactor
fixing newPost