fix: bug in UBM adaptation