removed bug with resizing field