user_id fix and datatypes