User id to the event table fix