added default display:block to main element