fix renderTree declaration function