done some compatibility work with different backend home page setting

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