move translate to dir