fix bug list test with exception