Cannot read property 'excludeFinished' of null