timeline code fix