event alignment fix