corrected save bug
better component resizing