removing unnecessary space