attributes cannot be undefined - must be null