Fix bug with space in from_name