ensure refresh rate is numeric