t660: fix problems saving template