a bunch of bugs I need to fix