fixed a bug that processSmsg may enqueue event back again