reodering id setting