add missing obligatory attributes