logging
fix build system