limit range of spark refresh rate