Added a warning if the library is empty