Fixed protected unction.