FIXED: all of the errors in the db accessor

Fixed all of the erros from transfering the info from trusted to number.