fix bug incrementing score when collapsing gaps