cleaning up image, slimming