strict checks for strings