remove double conversion mode
fix unit test
build script