added bit to remove coordinates on purge.