reduced  the delay on template load