fixed template bugs for forum