Fixes moving files