fix timing bug