Generating Paths from Items bug fixed

Generating Paths from Items bug fixed