fix bug with +1 numbers in adjust (dhruvasagar)