fix ubgs