fix posts and puts