fix initial permalink
fix permalink bug