fixing bug 3d scripts