fixed broken code due to rustc update and added greedyView