fixed wrong template call