getting rid of the gallery