check for nil before asking for empty in user