ensure prefix is defined globally