fix unit test
fix warn