fixes codepro violations and updates print statements to use verbosePrint