fix strange comment rendering behaviour