modify some logs and code standards