fixed relative permalink setting.