fix bug create post
fix file permission