auto fix BG:EE directory