fix critical bug with library - improve player