fix some older code styling to newer representation for this file

change the older coding style to newer also run the code and fix the error all that came at that time.



I have fixed the older coding style to newer coding style for one of the file I will start to replace other files which are still use older coding style.

Thank you