removes extra junk