fixed load of lsp
fixed optional arguments