remove copy/paste junk from platform_img