fixing numeric conversions
fixing toggleAll