added resize on load