Refactory & Fixed bug on convert symbolic to number