Fixed a bug on viewtopic