fix error when trying to add empty comment