fix timing of compile