fix for lib load order