fix permalink paths