moved excep.listener to mainproject