fix build problem caused by blockchain format