Which sentence is written correctly

We hoped to go to the baseball game but, it was canceled because of rain.

We hope to go to the baseball game but it was canceled because of rain.

We hope to go to the baseball game, but it, canceled because of rain.

We hope to go to the baseball game, but it was canceled because of rain.

We hope to go to the baseball game, but it was canceled because of rain.