bugfix: using library path's len before locking
delete obsoleted message type