edit permalink bug