drop remark when hiding the input box