Fix bugs found at hackathon.