pollInterval comparison error