ignore defined but not existing attr elements