fix for weight