Added init for rc code

Somehow self.rc can be left unset, let's see why and where it happens