some fix for enclose