resizing on import