move BAT_PROXY into convert module