check for undefined attributes