Bug fix. Didn't handle long static paths like a/b/c. Now fixed