render and batch improvments