fix for rename of ctypes in pdf generation