fixed if statement syntax issues

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>