fix dir after cake checkout