fixed dumb exception constructing bug