fixed problems due to mtgox api update