fix user_id in alerts