remove domain first