truncate with {var:0:len}
add sth in takesnap