Fix buy coins routine