Fixing path formation issue