fix when support, fix some bugs