fixed some issues with restoring and baking multiple files