Fixed Arm Factory,  clean up global Variables