refactoring url ab issue