fix stupid bugs. That'll learn me to commit without compiling.