fixed call to parent constructor