register template download bug fixed