Remove extra space in output