fix bug 4 weight