small change in keycmp