fix the permalink url problem