what is path? looks undefined to me