update post by fixing a minor bug