fixing issue with unquoted string compares