enable expand root
fix bug