use uid instead of guid