fix environment detection