translate: fixed inplace support