Fix all small bugs.