In case uid=0, its already being treated as int, so there is no need to check for type and add time to performance.