error handler if lib not found