remove externs