fixed an error with loading files from last commit