Fix: linux compile error
ldb: cleanup msgs