change head order