fix to ensure properly loaded variables are exposed