JC: fixed rpsec. all passes.