fix nose-test bug