fixed result copiing globbing bug
merged