fixed call to constructor