fixed env get for long identifier