Remove useless symbols and extra string