added library not found error handler