bugs for catching null user ids