Fixed simple path sufix detection