The Twinkie was originally filled with banana cream inside but was forced to switch to the vanilla cream flavor during the Second World War because the bananas were rationed .
During World War II , bananas were rationed and the company was forced to switch to vanilla cream .