Fixed a sign issue. Read int no longer returns signed long instead it returns int