Small changes in pdf opening mechanism