verify path length if present