Events showing in wrong order