alerts on invalid pop_class name during initiation