Fixed the co-routine inconsistency bug (I think)