Fix bug of uni function