removes unnecessary output buffering