use correct variable

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>