Improve complete plugin to show error message