fixed boolean return value.