Hack to prevent crash.