moved path index form Enemy to Path