moved exception to proper module