fixed some of the hard coded parts of the AOview