fixed problem casting booleans to String