fix error when submitting empty comment