fixing query builder missing options