Fix for bad variable assignment

Signed-off-by: Dan Imbrogno <dan@3vl.ca>