delete some log and resolve a bug