fix code sniff violations.