fixed key checking