Fixed the custom data type pointers