bug fix in in show posts