galaxy_class exception bug fix