ending to fix credits restore