fixing just introduced bug from exports