fix length of dest