fixed query creator for select box
updated version
updated config