start logging error, fixed itemSim return bug