perform codecleanup