fix error in dict reference in output
improve the output on the dict views