lsp: refactor refactor