remove commented out mgdraw code