cleaning up processimage and saveimage