attempting to fix heroku error related to UID as string instead of integer