fix unit test
fix config