return correct weights -- regression introduced in 42dab3ff18999199dc3b (v0.0.9)