clean up enforce_sequence patch