fixed error rendering when create empty comment