added checkbox for fixedgapsize