handle.missing.library function

Handle missing library