fix parallel calls