delete unnessesary strings