Clean up duplicate steps