a bit modify for compatible on some sites with lower version than Beta 7.

Signed-off-by: TomWu <phperwuhan@gmail.com>