spark recipe fixes