small fix
exception
moved stuff to glovals
catch general ex