make battle render correctly