fix gaps