Added fix for mathjs