fix bug when comments are disabled