allow null patterns