bug fix for box weight