fixed -Pchecks lint issues.