check interval value