throws exception when builder is unavailable
fixed regexp
case change