- [lib] a few small moficications on ketcher.