fix abstract class exception