fixed exception thrown