fix authorization bug on events