prepare to add functional testing
fix build