removing indirect left recursion


I want to remove indirect left recursion from these rules:

    S-->TU,     T-->US|b,     U-->ST|a 

I don’t know if I can implement the algorithm correctly. My assumption is to make it like this:

S-->TU, T-->U'b, U'b-->U'a 

Is this correct?