fix ptrel