check if input is null