adjustment for gap