adding fix for displaying math problems nicers