check allowed for null