fix #14; improve empty element translation