Fixed resource rename issue