fixed the super class inheritance issue