fix bugs missing coins