successful load data from db into array
some fixes