fix bug with input multiple dot