fixed the bug of negative numbers