fix image cleanup
Merge pull request #107 from Yelp/yejun_fix_image_cleanup

fix image cleanup