bug fixed in log process