enable modifying gap at runtime