closed space tplwrite