fix surepository problem