reverting changes on removing and adding obstacles