fix paths in staging directory