Fixed error when entering a 'rate' value