Delete excess characters