fix name error in output