Could be a good idea to move this call, and the checks to a separated function, and call from both here and when render channel is created.