fix detect environment