os select image cleanup