jBPM fixes