pass $this to get_class, else it return class name of parent class instead of child