fix bug on check interval