Treat weight as an int instead of a string.