fixed wrong template error