some log fix & typo fix