fix the first post and some bugs