fixed installing templates