Cleaning up gallery