added new exception when keys not found