fix bug that caused only VaspErrorHandler to appear