corrected user_id to integer