Working resizing on server