prevent patch initialisation failure if index does not exist