bug fixes with Weight column