refactor SLD resolution