guard against fatal error