re-arrange id