fixed sparkbuild