set exc in all cases