fix error on empty attributes