Fixed the design replay bug