helpers: fix dereference error

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>