fix currency check in payment
upgrade num dependency