fixed a few bugs with deleting ruimtes