clear on null input