Fixed a bug about outer angle.