changing dest to a dir