Workaround for crash