fixed accessing bug in combine