pdbreader bugfix