fixing incorrect object use

Signed-off-by: Joe Buck <jbbuck@gmail.com>