fix weight method..