fix overview page layout
fix some memory leaks