notify fix and type validation fix