add no pts macro for invalid pts