Corrected some style and syntax mistakes

Signed-off-by: goarnaut <goarnaut@yahoo.com>