exception workaround