fixed replace rule