fixed a bug with user_id