fix permlink