Fix a bug of reposition.
Destroy sub widgets.
Change default paths.