fix error when submit comment