fix forgeupgrade and restler