added fix for coin bugs