fix function incompatible between subclass and parental class.
fix funcion incompatible between subclass and parental class