Fixed all neccessery events in event loop