check for empty/null strings