clean up random garbage code