removes unnecessary output.