Fix crash on controller_inheritance