remove weights, fixes #22