Bug fixing inherit