adding auto convert string to number support for m2s