removes galeria when empty