improve path +

change path from string to array of pointers