probably a problem with library.js