clean up image downloading