work around for inline editing of empty attributes