change imports to relative

also fix a raise without arguments case