fixed problem in showing post