Fixed error with last number