bug refix: not use log()