[Refactoring code] Remove unecessary spaces