rm logger for IdentityCheck and fix some checkstyle bug