attempt to address mbstr issues