fix config for permalink