fixed some bugs about V8 debug