fixing gaps