improve accuracy of refresh rate