chang to tags output; bug in rename