cleaning up gallery