Fix bugs. Lots of zem.