remove useless code from currency