q method notes, fix library