removed unnecessary relname var