patch for external lib load async