fix comparison from strpos