handle failure of layer source