update_v0.8: optimize code, stop logger
update_v0.8: optimize code 2