initial fixes to the bug for music library