pdf files are doing funny things