Refactoring of code

Remove the unwanted spaces.