fix: weigth could be optional