forbid assigning null to string
added type checking for comparison