module invoke and comment out all fatal-error-inducing function calls