Fixed some exceptions.
Finish 0.2.3