fix: raise an error if mpf_set_str fails
fix: typo