FIX retrieve environment variable