allowed user to input empty string

It does nothing when input is empty