empty attributes are now handled well