permalink cleanup