High-k related reliability issues in advanced Non-Volatile Memories