fixed seach post permalink bug