removing locals usage to perform exporter transform