reverted fix of Codenarc violation which broke tests