Fixed client key definition bug