Fixed path index not set warning