fixed a bug where it was leaving certain fields out