fixed the set_id method
fixed expected variable