fix: remove wasted if-else condition
fix: function prototype typo
add: decimal string to uint