fixed db and ajaxselect now working minimally