Update 0.12.2

- Fixed critical bugs introduced in 0.12.1.