show error while you type