hide deprecated values if empty after save