fix bug for queue event