bug fix for optional bounds