fixed 'invalid literal for float()'.