Fix typo weigth -> weight