Remove tailing symbols