temp fix of ptr