refactor limit processor