header: fix path change transitions