fix get coin num bug