Fix min/max size
fix getRoot return type
html pages processing