fixing inheritance, inheritance decorator