clone externs fix