fix constructor signature