fix build time error caused by astyle

changes made by astyle on #cf286b7 seem have many errors
this pull request just fix errors on build time but maybe there are more errors on runtime
maybe on the weekend i will check for more errors on runtime.