remove log spam
bug fixes for external lib