make skipGap as config