Fixing number format error