removing replace and arg