fix min-height of main box