[fix] keep empty attributes empty, fixes #15