fixed typo in equation parser