fixed weight error