Fixed key check