Move id to right position