fix whitespace issues and violation report mismatch with actual policy