work on repair jobs added

fixed bug on spontaneously repair