note overflow fix