fix constructor args number recognition