fix the problem in post template