Fix incorrect use of exports global