itml: fix dead initilisations and set the pointers to NULL only when needed.