remove glimpse
Move cleanup of glimpse