Fixed old pointer reference