fixes illebal vimproc api call