removed retain cycle in register controller