fix replace! usage