Fix injection after url changing