fix the super calls in the constructor