and fix constructor param