adding a UID to functiondoesnotexisterror