no 'die is null' typerror