add try catch when getting arithmetic expressions