check for null or empty on word