fix

replaced isset with array_key_exists