fix test_issue8