fixed error in path array - all working