removing unnecessary text