fixed getting events