handle blank and empty input