fix  permalink issues