fix printing for gaussian