fix the bug and add event read process.

	it is not OK now.