return nil right away if key is empty