permalink & anchor tag fix