Exception workaround