improve number fitting function
update version number