fixed bet creation query