there should be a queryDB argument which allows to return only the first row in DB to avoid multi-dimensional arrays