fix a wrong answer

reported by @Queequeg