yolo api rendering code hack