keys: remove zero-length array