fix a bug of UA