Fixed the checking of if money is number