try to log id undefined