small patches to fix debug level, and allow multiple library load on init flow