fix code climate style violations.