fixed interval parse

fixed the interval parse to float from int.