[BUGFIX] cast to float or int all numeric values