improvement to modelHelpers parseAmount