fix testing error that causes system to break.

resolve #125