Resolve Bug in SubPlate and SubReplicat, add some function