make default 1 for negative sample weight