fix variables that are not exported but use imported symbols