trigger compile event