Removing the unwanted space