Fixed a problem when no PTR exists