Match Elv's fix on ptr

Signed-off-by: Repooc <tjcooper1982@gmail.com>