actually check environment string