fix testing error