Changed uid to integer