fixing type and super method not called warnings