prevent more occational javascript 0.000000000001 doubles showing