fix when no environment variables specified