Math insertion fix

Hi @elhoyos