given -2147483647 returning -2147483648 while expecting -2147483647