fixed activation flush of permalinks