order constructor fix