dont save when input is nonempty