resize initially