fix to misleading output