Fixed some exception