changed the way ofspecial replace