fix some spacing issues and a typo

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>