fix externs again