save error for all input methods