Fixed some style issues and save for pretty report.