Fixes missing mathjs bug