fix rank assigned to uploaded items