Report code cleaning