Fixed some mistakes with runtime