removes unnecessary text