fixed eventmasseges for contracts