remove key check