minor bug fix in post template