! some un-used vars

Signed-off-by: Spuds <spuds@spudsdesign.com>
! fix some unused or wrongly used vars

Signed-off-by: Spuds <spuds@spudsdesign.com>
! wrong number or wrong at all on parameter passing

Signed-off-by: Spuds <spuds@spudsdesign.com>
! the ) was in the wrong place and passed the param to the wrong function

Signed-off-by: Spuds <spuds@spudsdesign.com>