fixed missing userid