fix some bug and add post