do warn if key is empty