Cannot read property 'includes' of null