fix contruction without parameters