Base url revert fix