Fixed callback for events resource