Possible fix ?

Maybe a fix to the error:
 ERROR: CheckProofOfWork(algo=0) : hash doesn't match nBits
 ERROR: CheckBlock() : proof of work failed