Fix the refresh rate issue