fix coding style : space between ) and {
remove unused code
fix indenting
fix multiple parameter comment issues