More string to number casting
Better validation