fix some coding style issues

Reported-by: Fangfang Xia <fangfang@gmail.com>
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>