fixed error with installing with the right weight