fixes timing in ex8 and ex9