added equalheight() call to pop.end