move dist to str