removed unused code from Metro Pro