fix constructor w/o weight