fix infinite loop in pc:relative