fixed fireAppEvent