fix build and docs