fix format %lx warning