remove Path.getFromArray