Cannot set property of undefined fix

Cannot set property 'nextCheck' of undefined