handle no keys