BUG safety, potential null child

Transform can make child null, have to check for it.