fix some bug,win ok