fixade php sanity check till case insensitive