fix construct function.