fixed issue where straight flush and flush were using different values