correct delete_observer method