removing supeflous output