fixed bug in method View in dealway.py