Fixed obtaining events