fixed timer directive issue when building