fixed some errors in compileExp for readInt. added lots of trace