Update lib, fixing issue #1