fix Procedure clone bug