Fixed space bug too allow for space in input