fixed a few bugs to get everything working again