fixed public address magic byte bug