fix two inconsistencies in output