Fix error in layout empty url helper