check keys