fixed issue when creating a new comment via html.