FIX readEnv assertion