change the %d to %x when call method and return from method calls