On the Curry-Lob paradox