fix delete location for remove