fixed id assignment