ensure empty key is set in time to prevent assertion failure