cleaning up gllaery entries