fix the gap issue.