eliminated unnecessary loop of result set.
eliminated unnecessary loop of result set.
minor bugfix in method get().