Fix invalid arguments for parent constructor