add io key validation