fixed grid export in HTML