handle booleans in input prompt