fixed max interval error