Fixes to poor syntax and attention to detail

Signed-off-by: David Thorpe <davzie@davzie.com>