fixed CodeNarc violation