fix height issue of main section