Gallery2 cleaning