diff --git a/src/device.c b/src/device.c
index 89462ca..14e850e 100644
--- a/src/device.c
+++ b/src/device.c
key_file = g_key_file_new();
g_key_file_load_from_file(key_file, filename, 0, NULL);
+ /* Remove current attributes since it might have changed */
+ g_key_file_remove_group(key_file, "Attributes", NULL);
+
saver.key_file = key_file;
saver.device = device;
att = gatt_db_insert_service(db, start, &uuid, primary,
end - start + 1);
if (!att) {
- error("Unable load service into db.");
+ error("Unable load service into db!");
return -EIO;
}