Fixed bug of wrong symbols in result.