crypto reference fix