Fixing minor bugs (1 case, and negative number case)