Fix bug in execution and in payment verification.